<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class place extends rows{
 	function init(){
 		$this->tableName="sn_place";
 		$this->col["pid"]   = new column("pid",dataCheck::INTEGER);
 		$this->col["pname"] = new column("pname	",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["pparent"]  = new column("pparent",dataCheck::INTEGER|dataCheck::NOTNULL);
 	} 	 	
 }
